package oo4;

public class Circle {
	public static double pi = 3.1415926;
	private double r;// 圆的半径

	public Circle(double r) {
		this.r = r;
	}

	public double getRound() {
		showYuanzhoulv();
		return pi * r * 2;
	}

	public static void showYuanzhoulv() {
		System.out.println("现在使用的圆周率是：" + pi);
		// System.out.println("半径是：" + r);
	}
}
